package com.leyou.common.exception;

import lombok.Getter;

/**
 * <h3>leyou-project</h3>
 * <p></p>
 *
 * @author : hhw
 * @date : 2020-05-20 21:38
 **/
@Getter
public class LyException extends RuntimeException {
    private int status;

    public LyException(int status) {
        this.status = status;
    }
    public LyException(int status, String message, Throwable cause) {
        super(message, cause);
        this.status = status;
    }

    public LyException(int status, String message) {
        super(message);
        this.status = status;
    }
    public LyException(int status, Throwable cause)
    {
        super(cause);
        this.status = status;
    }
}
